package com.stadium.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 球员表
 *
 * @author wsl
 * @email
 * @date 2021-05-11 14:58:57
 */
@Data
@ApiModel(value = "球员表Vo")
public class GamePlayerVo {
    private static final long serialVersionUID = 1L;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "id")
    private String id;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "用户id")
    private String userId;

    @Length(min = 0, max = 10)
    @ApiModelProperty(value = "性别（0：未知 1：女 2：男）")
    private String sex;

    @ApiModelProperty(value = "地区")
    private String area;

    @ApiModelProperty(value = "身高 CM")
    private Integer height;

    @ApiModelProperty(value = "体重 KG")
    private Integer weight;

    @ApiModelProperty(value = "球龄")
    private Integer ballAge;

    @ApiModelProperty(value = "球衣编号")
    private Integer jerseyNum;

    @ApiModelProperty(value = "用户姓名(昵称)")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phoneNum;
    @ApiModelProperty(value = "身份证号")
    private String idNumber;
    @ApiModelProperty(value = "个性签名")
    private String signature;
    @ApiModelProperty(value = "头像")
    private String headPortrait;
    @ApiModelProperty(value = "角色（1：球员，2：球队管理者）")
    private String role;

}
